<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
        <title>广告主平台</title>
        <link href="/wk/res/ader&siter/css/siter&ader.css" rel="stylesheet" type="text/css" />
		<link href="/wk/res/ader&siter/css/lhgcalendar.css" rel="stylesheet" type="text/css" />
        <script src="/wk/res/js/jquery.js"></script>
        <script src="/wk/res/ader&siter/js/js.js"></script>
		<script src="/wk/res/js/lib.js"></script>
		<script src="/wk/res/ader&siter/js/echarts.common.min.js"></script>
    </head>
    <body>
        <div class="main">
            <div class="top">
                <div class="top-left">
                    <img src="/wk/res/ader&siter/images/logo.jpg" />
                </div>
                <div class="top-right">
                    <div class="top-right-nav">
                        <a href="#"><img src="/wk/res/ader&siter/images/pic01.jpg"></a>
                        <a href="#"><img src="/wk/res/ader&siter/images/pic02.jpg"></a>
                        <a href="index.php?a=logout&f=Ader" onclick="return confirm('你确定要退出吗?')"><img src="/wk/res/ader&siter/images/pic03.jpg"></a>
                    </div>
                    <div class="top-right-user">
                        <div class="top-right-user-one"></div>
                        <div class="top-right-user-two"><span>下午好, <b><?php echo C('RUN_LOGIN_USER.name');?></b> 欢迎登录</span></div>
                        <div class="top-right-user-three"></div>
                    </div>
                </div>
            </div>
            <div class="nav">
                <div class="nav-home"><a href="ader.php"><img src="/wk/res/ader&siter/images/daohanimg_03.jpg" alt="" class="Index"></a></div>
                <div class="nav-getAd"><a href="ader.php?c=Plan"><img src="/wk/res/ader&siter/images/daohanimg_04.jpg" alt="" class="Plan"></a></div>
                <div class="nav-adManage"><a href="ader.php?c=PlanStats"><img src="/wk/res/ader&siter/images/daohanimg_05.jpg" alt="" class="PlanStats"></a></div>
                <div class="nav-data"><a href="ader.php?c=Recharge"><img src="/wk/res/ader&siter/images/daohanimg_06.jpg" alt="" class="Recharge"></a></div>
            </div>
            <div class="notice">
                <div>管理员消息：新年快乐。万事如意！发大财！</div>
            </div>

            <div class="content">
                <div class="content-title">
                    <div class="content-title-top">
                        <img src="/wk/res/ader&siter/images/dianimg.png" alt="">
                        <b>数据报表</b>
                        <span class="table-filter">
                            <span>投放日期:</span>
                            <input type="text" class="date" placeholder="请选择日期"  onclick="opcal()"> 
                            <input type="button" class="search-button" id="submit3">
                            <a href="#" class="export-button"></a>
                        </span>
                    </div>
                    <div class="content-title-bottom">
                        <img src="/wk/res/ader&siter/images/ganthao.png" alt="">
                        <span>当前为订单管理页面，您可以查看或取消订单！</span>
                        <a href="">< 返回</a>
                    </div>
                </div>
                <div class="content-table content-table-manage">
                    <table cellspacing="0">
                        <tr class="first-tr">
                            <td width="250px">日期</td>
                            <td width="440px">广告计划</td>
                            <td width="150px">结算数</td>
                            <td width="140px">点弹次数</td>
                            <td width="140px">支付(元)</td>
                        </tr>
                        <?php if(is_array($page)): $i = 0; $__LIST__ = $page;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
							<td><?php echo ($vo["day"]); ?></td>
							<td><?php echo (getPlanNameById($vo["plan_id"])); ?></td>
							<td class="tAr"><?php echo ($vo['num'] + $vo['deduction']); ?></td>
							<td class="tAr"><?php echo ($vo["click"]); ?></td>
							<td class="tAr"><?php echo ($vo["ader_pay"]); ?></td>
						</tr><?php endforeach; endif; else: echo "" ;endif; ?>
                    </table>
                </div>
                <div class="content-page">
                        <div class="content-page-link">
                        <?php echo W('Page/info', [$page]);?>
                        </div>
                    </div>
                </div>
                <div class="foot">
                    <img src="/wk/res/ader&siter/images/down_r.jpg" alt="">
                </div>
            </div>
        </div>
    </body>
	<script>
$(function(){
	var src = $('.'+'<?php echo (CONTROLLER_NAME); ?>').attr('src');
	var newSrc = src.replace('.jpg','_current.jpg');
	$('.'+'<?php echo (CONTROLLER_NAME); ?>').attr('src',newSrc);
})
</script>
    <script src="/wk/res/ader&siter/js/lhgcore.min.js"> </script>
    <script src="/wk/res/ader&siter/js/lhgcalendar.min.js"></script>
    <script >
    function opcal(){
        J.calendar.Show();
    }
    </script>
</html>